import {
    HTTP
} from "../utils/http.js"
class OrderModel extends HTTP {
    // 1 消费 2充值 3积分
    loadOrders(startTime, endTime,type,begin,num,phoneNumber) {
        return this.request({
            url: 'program/antProgramApiService/tradeOrderListQuery',
            data: {
                startTime, 
                endTime,
                type,
                begin,
                num,
                phoneNumber
            },
            method: 'POST'
        })
    }
    loadDetail(tradeNo) {
        return this.request({
            url: 'program/antProgramApiService/tradeOrderQuery',
                data: {
                    tradeNo
                },
                method: 'POST'
        })
    }
    
}
export {
    OrderModel
}